<?php
declare (strict_types = 1);

namespace app\api\controller;

use app\api\service\IntegralService;
use app\BaseController;
use think\Request;

class integralController extends BaseController
{

    //积分查询接口
    public function integral()
    {
     return   IntegralService::integralSee();
    }
    //积分兑换接口
    public function integralCoin()
    {
        $uid = $this->request->get('uid');
        $integral_id = $this->request->get('id');
        return IntegralService::integralCoin();

    }
}
